import { MoreOutlined } from "@ant-design/icons";
import './index.css'
const Title = (props: any) => {
  const { title,callback } = props;
  return (
    <>
      <div className="title">
        <span>{title}</span>
        <MoreOutlined className="icons" onClick={()=>callback()} />
      </div>
    </>
  );
};
export default Title;
